package com.chinasofti.anno;


@interface Anno2{
}
enum Season{
    SPRING,SUMMER,AUTUMN,WINTER;
}
@interface Anno1{
    int a() default 23;
    public String name() default "lilei";
    public Class clazz() default Anno2.class;
    public Anno2 ann() default @Anno2;
    public Season season() default Season.SPRING;

    public int[] arr() default {1,2,3,4,5};
    public Season[] seasons() default {Season.SPRING,Season.AUTUMN};
    //value 后期在使用注解时，如果我们只需要给注解的value赋值，那么value可以省略
    public String value();

}
//@Anno1(value="name")
@Anno1("name")
public class TestAnno {

}